home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / bc_pas_1.zip / MK.BAT < prev    next >
DOS Batch File  |  1992-12-08  |  980b  |  45 lines

  1. rem
  2. rem Command Lines to build PLAYFILE and RECFILE
  3. rem
  4.     @echo off
  5.     if not (%debug%)==(ON) goto label05
  6.     @echo on
  7. :label05
  8.  
  9.     if (%1)==()    goto help
  10.     if (%1)==(BCC) goto bcc
  11.     if (%1)==(bcc) goto bcc
  12.  
  13. :msc
  14.     nmake S=S M=1 -f recfile
  15.     nmake S=S M=1 -f playfile
  16.  
  17.     if (%2)==(ALL) goto msc05
  18.     if not (%2)==(all) goto done
  19.     :msc05
  20.     nmake S=S M=1 -f blockin
  21.     nmake S=S M=1 -f blockout
  22.     nmake S=S M=1 -f fixwave
  23.     goto done
  24.  
  25. :bcc
  26.     make S=s BCC=1 M=1 -f playfile
  27.     make S=s BCC=1 M=1 -f recfile
  28.  
  29.     if (%2)==(ALL) goto bcc05
  30.     if not (%2)==(all) goto done
  31.     :bcc05
  32.     make S=s BCC=1 M=1 -f blockin
  33.     make S=s BCC=1 M=1 -f blockout
  34.     make S=s BCC=1 M=1 -f fixwave
  35.     goto done
  36.  
  37. :help
  38.     echo To Use: DOS\ MK [MSC or BCC] [ALL]
  39.     echo Where:           MSC specifies Microsoft C
  40.     echo          BCC specifies Borland C
  41.     echo                  ALL builds all the example programs
  42.  
  43. :done
  44.  
  45.